﻿<%@ Page Language="C#" MasterPageFile="~/Themes/MasterPage.master" %>

<script runat="server">
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);

        switch (SiteContext.Current.BaseNodeId)
        {
            case 1 :
                subscribe.Visible = true;
                break;
            case 2:
                message.Visible = true;
                break;
        }
    }
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
    <lswweb:SkinControl ID="leftMenu" SkinFileName="Globals_LeftMenu.ascx" runat="server" />
    <div id="rightContent">
        <lswweb:SkinControl ID="breadcrumb" SkinFileName="Globals_Breadcrumb.ascx" runat="server" />
        <lswweb:SkinControl ID="addCart" SkinFileName="Globals_AddToCart.ascx" runat="server" />
        <lswweb:CartItemList ID="cartItem" Class="mg-t10" SkinFileName="Globals_CartItemList.ascx" runat="server" />
        <br />
        <lswweb:SubscribeAdd ID="subscribe" Visible="false" SkinFileName="Subscribe/Globals_SubscribeAdd.ascx" IsRenderTag="false" runat="server" />
        <lswweb:MessageAdd ID="message" Visible="false" SkinFileName="Message/Globals_MessageAdd.ascx" IsRenderTag="false" runat="server" />
    </div>
</asp:Content>

